package com.wft.chapter15;

import java.nio.file.Path;
import java.nio.file.Paths;

public class TestPath {
    public static void main(String[] args) {
        Path path = Paths.get("d", "w", "f");
        System.out.println(path.getNameCount());
    }
}
